<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
    <META http-equiv=Content-Type content="text/html; charset=gb2312">
    <link rel="stylesheet" href="../resources/css/reset.css" type="text/css" media="screen"/>
    <link rel="stylesheet" href="../resources/css/style.css" type="text/css" media="screen"/>
    <link rel="stylesheet" href="../resources/css/invalid.css" type="text/css" media="screen"/>
    <script type="text/javascript" src="../resources/scripts/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="../resources/scripts/simpla.jquery.configuration.js"></script>
    <script type="text/javascript" src="../resources/scripts/facebox.js"></script>
    <title>短信设置</title>
</HEAD>
<BODY class="mian_bg">
<TABLE cellSpacing=0 cellPadding=0 width="100%" align=center border=0>
    <TR height=28>
        <TD class="addr_td">&nbsp;&nbsp;<img src="../resources/images/addr_icon.png">&nbsp;当前位置:短信设置管理>短信设置</TD>
    </TR>
    <TR>
        <TD bgColor=#7ca600 height=1></TD>
    </TR>
    <TR>
        <TD bgColor=#8ebe00 height=1></TD>
    </TR>
</TABLE>
<div id="main-content">
    <div class="content-box">
        <!-- Start Content Box -->
        <div class="content-box-header">
            <h3>短信设置<a href="/sys/sms/editSmsProperties.do?id=${akSmsProperties.id}">[编辑]</a>
            </h3>

            <div class="clear"></div>
        </div>
        <div class="tab-content">
            <form action="/sys/sms/registerSms.do" method="post">
                <div class="module_title"><strong>短信设置</strong></div>
                <input type="hidden" name="id" value="${akSmsProperties.id}"/>
                <div class="module_border">
                    <div class="c">
                        序列号 ：${akSmsProperties.clientserialnuml}
                    </div>
                </div>

                <div class="module_border">
                    <div class="c">
                        关键字 ：${akSmsProperties.registerkey}
                    </div>
                </div>

                <div class="module_border">
                    <div class="c">
                        密码 ：${akSmsProperties.serialpass}
                    </div>
                </div>
                <div class="module_border">
                    <div class="c">
                        当前状态 ：
                        <c:if test="${akSmsProperties.statues == 1}">
                            已注册
                        </c:if>
                        <c:if test="${akSmsProperties.statues == 0}">
                            未注册
                        </c:if>
                    </div>
                </div>

                <div class="module_submit">
                    <%--<c:choose>--%>
                        <%--<c:when test="${akSmsProperties.statues == 1}">--%>
                            <%--<input type=button value="注销" onclick="window.location.href='/sys/sms/logoutSmsProperties.do?id=${akSmsProperties.id}'"/>--%>
                        <%--</c:when>--%>
                         <%--<c:otherwise>--%>
                             <%--<input type="submit" value="注册" class="submit_button"/>--%>
                         <%--</c:otherwise>--%>
                    <%--</c:choose>--%>
                        <input type="submit" value="注册" class="submit_button"/>
                        <input type=button value="注销" onclick="window.location.href='/sys/sms/logoutSmsProperties.do?id=${akSmsProperties.id}'"/>
                </div>
            </form>
        </div>
    </div>
</div>
<script type="text/javascript">
    <c:if test="${msg!=null}">
    alert("${msg}");
    </c:if>
</script>
</body>
</html>